<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            width: 450px;
            height: 450px;
            background-color: silver;
            margin-left: 0;
        }
        .ball {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: red;
            animation: bounce 3s cubic-bezier(.1,.25,1,.25);
        }
        @keyframes bounce {
            60%,80%,to{
                transform: translateY(350px);
                animation-timing-function: ease-out;
            }
            70%{
                transform: translateY(250px);
            }
            90%{
                transform: translateY(300px);
            }
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="ball"></div>
    </div>
</body>
</html>